package com.bltec.emergency.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ForeignVesselNumber implements Serializable {
    private Long id;
    private String shipName;
    private BigDecimal dailyFee;
    private BigDecimal fuelPrice;
    private String rescueArea;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rescueBeginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rescueEndTime;
    private BigDecimal rescueFuel;
    private Long rescueNum;
    private Long createBy;
    private Long updateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Boolean enable;
    private static final long serialVersionUID = 1L;
}